package com.yyz.zjjcms.controller.home;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.method.support.ModelAndViewContainer;


@Controller("homeCommonController")
public class CommonController extends HomeController{
	@ModelAttribute
	private String getHeadPrefix(){
		return HomeController.HEAD_PREFIX;
	}
	@RequestMapping(value="/",method=RequestMethod.GET)
	public String login(ModelAndViewContainer mavContainer){
		return "/index";
	}
}
